Learn R Programming

npde (version 3.5)

[,NpdeSimData-method: Get/set methods for NpdeData object

Description

Access slots of a NpdeData using the object["slot"] format

Usage

# S4 method for NpdeSimData
[(x, i, j, drop)

# S4 method for NpdeData [(x, i, j, drop)

# S4 method for NpdeData [(x, i, j) <- value

# S4 method for NpdeRes [(x, i, j, drop)

# S4 method for NpdeObject [(x, i, j, drop)

Arguments

x

object from which to extract element(s) or in which to replace element(s)

i, j

indices specifying elements to extract or replace. Indices are numeric or character vectors or empty (missing) or NULL

drop

For matrices and arrays. If TRUE the result is coerced to the lowest possible dimension (see the examples). This only works for extracting elements, not for the replacement. See drop for further details

value

typically an array-like R object of a similar class as x